package com.uam.core.test;

import com.mapbox.geojson.Point;
import com.mapbox.turf.TurfConstants;
import com.mapbox.turf.TurfMeasurement;

public class 生成6变形 {
    public static void main(String[] args) {
        Point point = Point.fromLngLat(112.97032,28.189194);
        System.out.println(TurfMeasurement.destination(point, 7500.00D, 0.00D, TurfConstants.UNIT_METERS));
        System.out.println(TurfMeasurement.destination(point, 7500.00D, 60.00D, TurfConstants.UNIT_METERS));
        System.out.println(TurfMeasurement.destination(point, 7500.00D, 120.00D, TurfConstants.UNIT_METERS));
        System.out.println(TurfMeasurement.destination(point, 7500.00D, 180.00D, TurfConstants.UNIT_METERS));
        System.out.println(TurfMeasurement.destination(point, 7500.00D, 240.00D, TurfConstants.UNIT_METERS));
        System.out.println(TurfMeasurement.destination(point, 7500.00D, 300.00D, TurfConstants.UNIT_METERS));
        System.out.println(TurfMeasurement.destination(point, 7500.00D, 360.00D, TurfConstants.UNIT_METERS));
    }
}
